The term "New-MailboxExportRequest" is not recognized.
Hi, I'm trying to backup the mailboxes on my exchange server 2010 running on server 2008 R2 using the script from Steve Goodman (http://www.stevieg.org/2010/07/using-the-exchange-2010-sp1-mailbox-export-features-for-mass-exports-to-pst/) I followed every step that is described in the tutorial. But if I run the script I get: The term "New-MailboxExportRequest" is not recognized as the name of a cmdlet, function, script file, or operable program. The permissions for the folder are: exchange trusted subsystem, administrators Full control. I ran the command "New-ManagementRoleAssignment -Role "Mailbox Import Export" -User Administrator" in the powershell of exchange. I tried exporting a single mailbox to PST but I got the same error. Nothing seems to work. Does anyone know a solution? Help would be appreciated. Cheers
June 23rd, 2011 5:29am

Hi, This command is only available in SP1 or newer. Did you install Exchange 2010 SP1? Leif
Free Windows Admin Tool Kit Click here and download it now
June 23rd, 2011 5:50am

Thx for the quick response, No I didn't had SP1 installed. Now that I've done the installation of SP1 for exchange I run the script and it gives me this error: There is no available servers running the Microsoft Exchange Mailbox Replication service. Any thoughts? Cheers
June 23rd, 2011 7:16am

Hi, That service is normally running on the CAS servers - please check that the service is started. Leif
Free Windows Admin Tool Kit Click here and download it now
June 23rd, 2011 7:35am

Yes the service is running. I just installed Update Rollup 3 for Exchange Server 2010 (KB981401), but did didn't solve the problem. I have 4 users that I what to back up via a PSTFile, 3 mailboxes (2 users and discover search mailbox) don't work but administrator mailbox does work. I'm stuck, dont know wath to do next.. Help would be appreciated.
June 23rd, 2011 7:40am

Hi Sturme, I suggest you follow this document use New-MailboxExportRequest to export the mailbox, then check whether this issue will occur or not. New-MailboxExportRequest http://technet.microsoft.com/en-us/library/ff607299.aspx If you want to use the script from Steve Goodman, please paste the exact error you get (when you run it in Exchange Management Shell ). Thanks, Evan Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
June 27th, 2011 5:35am

I am having a similiar issue but it is telling me the following: "The Term 'New-MailboxExportRequest' is not recognized as the name of a cmdlet, function, script file, or operable program What am I missing? We have everything up to date on the server with regards to updates. Can someone please help?Jessica Cochran
August 29th, 2011 10:25am

Hi Jessica, Did you come right with this? I have looked and can't find an answer to this... We have Exchange 2010 SP1 /w rollup 5 installed and still can't run this command from the Exchange Management Shell... "The term 'New-MailboxExportRequest' is not recognized as the name of a cmdlet" Any assistance would be greatly appreciated. Kind regards, granitewilli
Free Windows Admin Tool Kit Click here and download it now
October 24th, 2011 2:34am

Hi All... After some further investigation, I have found that in order to run the 'New-MailboxExportRequest' command, you need to run the following first: New-ManagementRoleAssignment –Role “Mailbox Import Export” –User "DOMAIN\USER" (replace "DOMAIN" with your domain and "USER" with your user that resides within your domain for which you would like to allow this export) Thereafter the 'New-MailboxExportRequest' command worked perfectly for me. New-MailboxExportRequest -Mailbox USER -FilePath "\\SERVER\SHARE\USER.pst" Hope this helps others looking for the solution more than the previous entries :) Kind regards, granitewilli
October 24th, 2011 3:31am

Hi All... After some further investigation, I have found that in order to run the 'New-MailboxExportRequest' command, you need to run the following first: New-ManagementRoleAssignment –Role “Mailbox Import Export” –User "DOMAIN\USER" (replace "DOMAIN" with your domain and "USER" with your user that resides within your domain for which you would like to allow this export) Thereafter the 'New-MailboxExportRequest' command worked perfectly for me. New-MailboxExportRequest -Mailbox USER -FilePath "\\SERVER\SHARE\USER.pst" Hope this helps others looking for the solution more than the previous entries :) Kind regards, granitewilli Just a side note: After you add the role assignment you will first have to exit out of the Exchange Management Shell and then get back in before running the New-MailboxExportRequest. The cause is that roles are loaded when the Management Shell is loaded - if the rights didn't already exist they will not be loaded and you will receive the error that the cmdlet is not recognized. Once you exit out and restart the exchange management shell the command should be recognized -Pete
Free Windows Admin Tool Kit Click here and download it now
December 13th, 2011 4:00pm

Pete. Thank you for the side note! This was driving me mad.
July 26th, 2012 12:07am

What granitewilli suggested worked! ...and thanks for the note Pete - worked only after restarted the shell! Couldn't figure out why I was still getting the error!
Free Windows Admin Tool Kit Click here and download it now
August 3rd, 2012 1:58pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics